package com.baobao.service;

import com.baobao.domain.Notice;

import java.util.Calendar;
import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Notice entities
 * 
 */
public interface NoticeService {

	/**
	 */
	public Notice findNoticeByPrimaryKey(String schoolId, Calendar time);

	/**
	 * Load an existing Notice entity
	 * 
	 */
	public Set<Notice> loadNotices();

	/**
	 * Delete an existing Notice entity
	 * 
	 */
	public void deleteNotice(Notice notice);

	/**
	 * Save an existing Notice entity
	 * 
	 */
	public void saveNotice(Notice notice_1);

	/**
	 * Return all Notice entity
	 * 
	 */
	public List<Notice> findAllNotices(Integer startResult, Integer maxRows);

	/**
	 * Return a count of all Notice entity
	 * 
	 */
	public Integer countNotices();
}